import request from "../common/request";
/**
 * 创建社区
 * 
*/
export function createCommunity(data){
    return request({
      url: 'pool/createPoolCommunityData',
      data,
      methods: 'POST',
    })
}


/**
 * 获取社区列表
 * 
*/
export function getCommunityData(){
    return request({
      url: 'pool/getCommunityData',
      methods: 'GET',
    })
}

/**
 * 获取社区列表
 * 
*/
export function joinCommunity(data){
    return request({
      url: 'pool/joinPoolCommunityData',
      data,
      methods: 'POST',
    })
}
